class Config:
    REDIS_HOST = 'localhost'
    #REDIS_HOST = '39.102.214.224'
    REDIS_PORT = 6379
    REDIS_PASSWORD = 'liuxiang719'

    SQLALCHEMY_DATABASE_URI = "mysql+pymysql://lxtld:liuxiang719@127.0.0.1:3306/lxtld"
    SQLALCHEMY_COMMIT_ON_TEARDOWN = False



class ProductConfig(Config):
    pass

config_dict = {
    "product": ProductConfig,
}